package ModelLayer;



import static org.junit.Assert.*;
import org.junit.After;
import org.junit.Before;

/**
 * The test class Test.
 *
 * @author  (your name)
 * @version (a version number or a date)
 */
public class Test
{
    private ModelLayer.Customer customer1;
    private ModelLayer.Product product1;
    private ModelLayer.Order order1;
    private ModelLayer.OrderProducts orderPro1;
    private ModelLayer.Discount discount1;

    
    
    
    

    
    
    

    /**
     * Default constructor for test class Test
     */
    public Test()
    {
    }

    /**
     * Sets up the test fixture.
     *
     * Called before every test case method.
     */
    @Before
    public void setUp()
    {
        customer1 = new ModelLayer.Customer(123, "Arthur", "UCN", "Aalborg", "sofinden", "AO600", "21454366", "sadasd@agh.bg");
        
        product1 = new ModelLayer.Product("Banana", 20, 100, 1234);
        order1 = new ModelLayer.Order(4321, "10/20/2013", "10/40/2013");
        orderPro1 = new ModelLayer.OrderProducts(product1, 2);
        order1.addCustomer(customer1);
        order1.addProduct(orderPro1);
        discount1 = new ModelLayer.Discount(21415, "sadghdfh", "asdadfh", "asfdg", 10);
    }

    /**
     * Tears down the test fixture.
     *
     * Called after every test case method.
     */
    @After
    public void tearDown()
    {
    }
}
